package com.vehicle.service;

import com.vehicle.bean.DataGridView;
import com.vehicle.pojo.Btype;
import com.vehicle.pojo.Btype_type;

import java.util.List;

public interface BtypeService {
    DataGridView findBtypeBypage(Btype btype);
    //返回所有单位
    public DataGridView findAllBtype();

    //查询是汽车厂商的往来单位
    public List<Btype> findBtypeWithCar();

    //查询所有单位类型
    public List<Btype_type>  findBtype_bypes();

    //增加往来单位
    public void addBtype(Btype btype);

    //修改往来单位
    public void editBtype(Btype btype);

    //修改状态单个删除
    public void updateStatus(Integer btypeid);

    //修改状态批量删除
    public void  updateStatusBatch(Integer[] btypeids);
}